Visual Basic (Declaration) | |
---|---|
Public Overloads Function DecodeAbic( _ ByVal inputData() As Byte, _ ByVal align As Integer, _ ByVal width As Integer, _ ByVal height As Integer, _ ByVal biLevel As Boolean _ ) As Byte() |
Visual Basic (Usage) | Copy Code |
---|---|
|
C++/CLI | |
---|---|
public: array<byte>^ DecodeAbic( array<byte>^ inputData, int align, int width, int height, bool biLevel ) |
Parameters
- inputData
- A byte array which contains the input data.
- align
- Number of bytes to align the uncompressed output data.
- width
- Image width, in pixels.
- height
- Image height, in pixels.
- biLevel
- true to indicate bi-level encoding, false to indicate 4-bit grayscale encoding.
Return Value
A byte array that contains the raw uncompressed data.For an example, refer to EncodeAbic.
Call this method to decompress the input 1-bit bi-level or 4-bit grayscale ABIC data.
Use EncodeAbic to encode ABIC data.
The output buffer in the RasterNativeBuffer object returned is allocated automatically by this method. The user is responsible to free this unmanaged memory buffer by calling Marshal.FreeHGlobal as follows:
RasterNativeBuffer buffer = rasterCodecsObject.EncodeAbic(...
// Use buffer
Marshal.FreeHGlobal(buffer.Data);
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family